<?php
	defined('_JEXEC') or die('Restricted access');
	//echo "ciao<br>";
	//print_r($arguments[6]);
	$a_query_parameter = $arguments[0];
	$a_current_field = $arguments[1];
	$a_current_field_no = $arguments[2];
	$a_fields_count = $arguments[3];
	$a_current_row_no = $arguments[4];
	$a_rows_count  = $arguments[5];
	$a_sender = $arguments[6];
    
		/*//$local_is_main_table = ($a_query_parameter->main_table_name == t_query_parameter::prepare_table_name($a_current_field->table));
		$local_result = '';
		$local_filter_script = '';
		//echo "get_header_tags_structure<br>";
		if ($a_current_field_no == 0)
		{
			//echo "ciao - ";
			$local_result = "<thead><tr><th>#</th>";
			//echo "<thead><tr><th>#</th> -------";
			//echo $local_result;
		}
		if (($a_current_field->primary_key == 1) )
		{	
			
			if (($a_sender->is_event_able(t_base_field::field_event_type_on_selected))  || ($this->is_multi_action_form_active()))
			{
				$local_result .="<th> </th>";
			}	
			if ($a_sender->is_event_able(t_base_field::field_event_type_on_edit))
			{
				$local_result .="<th> </th>";
			}	
			if ($a_sender->is_event_able(t_base_field::field_event_type_on_cancel))
			{
				$local_result .="<th> </th>";
			}				
			if ($a_sender->is_event_able(t_base_field::field_event_type_on_save))
			{
				$local_result .="<th> </th>";
			}
			if ($a_sender->is_event_able(t_base_field::field_event_type_on_insert))
			{
				$local_result .="<th> </th>";
			}				
			if ($a_sender->is_event_able(t_base_field::field_event_type_on_delete))
			{
				$local_result .="<th> </th>";
			}	
		}
	  
		$local_special_column = $this->special_columns_array[$a_current_field_no];
		//echo "a_current_field_no: $a_current_field_no - special_column_parameters_column_field_type: " . $local_special_column[t_field_grid::special_column_parameters_column_field_type] ." - ".t_field_grid::special_column_type_hidden_column."<br>"; 
		if ((isset($local_special_column)) && 
			(($local_special_column[t_field_grid::special_column_parameters_column_field_type] == t_field_grid::special_column_type_hidden_column) ||
			($local_special_column[t_field_grid::special_column_parameters_column_field_type] == t_field_grid::special_column_type_column_title_hide)||
			(($local_special_column[t_field_grid::special_column_parameters_column_field_type] == t_field_grid::special_column_type_column_url_parameter_value) && (strtoupper($this->get_special_column_type_parameter_value($a_current_field_no,2)) !== 'TRUE'))))
		{
			$local_style = 'style="display: none"';
		}    
		else
			$local_style = '';
		$local_result .= "<th $local_style>".$a_current_field->name."</th>";
		if ($a_current_field_no == ($a_fields_count-1))
		{
			$local_result .= "</tr></thead>";
		}
		//$a_sender->header_script = $local_result
		//echo "local_result: $local_result<br>";
		$local_return = $local_result;*/
		$local_return = '';
		//print_r($local_return)
		$this->set_multi_action_script($local_special_column,$a_current_field_no,$a_query_parameter,$a_current_field,($a_current_field->primary_key == 1));		
		
		
	
		
?>    